package cn.com.dhcc.turbo.web.controller.test;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cn.com.dhcc.app.core.base.BaseController;

@RequestMapping("/ui")
@Controller
public class UiController extends BaseController {

	@RequestMapping(value = "/login", method = RequestMethod.GET)
	public String login(Model model) {
		try {

		} catch (Exception e) {
			return toAlertPage(model, e.getMessage());
		}
		return "ui/login";
	}

	@RequestMapping(value = "/main", method = RequestMethod.GET)
	public String login() {
		try {

		} catch (Exception e) {
		}
		return "ui/main";
	}
	
	
	@RequestMapping(value = "/table_list", method = RequestMethod.GET)
	public String tableList() {
		try {
			
		} catch (Exception e) {
		}
		return "ui/table_list";
	}
	
	
	@RequestMapping(value = "/form", method = RequestMethod.GET)
	public String form() {
		try {
			
		} catch (Exception e) {
		}
		return "ui/form";
	}
	
	
	@RequestMapping(value = "/detail", method = RequestMethod.GET)
	public String detail() {
		try {
			
		} catch (Exception e) {
		}
		return "ui/detail";
	}

}
